package com.kn.knsqlitegenerator;

import java.util.List;

import com.kn.knsqlitegenerator.files.ImportSQLiteFiles;
import com.kn.knsqlitegenerator.files.ReadConfigFile;
import com.kn.knsqlitegenerator.metadata.ParseMetaData;

public class Main
{

	public static void main(String[] args)
	{
		/*Board frame = new Board();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);*/
		try
		{
			Class.forName("org.sqlite.JDBC");

			List<String> listDatabases = ImportSQLiteFiles.run();

			for (String database : listDatabases)
			{
				List<Table> listTables = ParseMetaData.run(database);
				ReadConfigFile.run(database);
			}
		}
		catch (Exception e)
		{

		}
	}

}
